#include "inputmanager.hh"

#include <stdio.h>
#include <unistd.h>

InputManager::InputManager(sf::RenderWindow &app) : App(app)
{
    //ctor
}

InputManager::~InputManager()
{
    //dtor
}

void    InputManager::Update(Time)
{
    sf::Event Event;
    /*while (*/App.GetEvent(Event);//)
    //{
        if (Event.Type == sf::Event::Closed)
            App.Close();

    std::cout << (char)Event.Text.Unicode << std::endl;
    Sleep(1000);
    //}
}
